package com.pyue.eam.admin.api.entity.regi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pyue.eam.admin.api.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 客户基地地址
 *
 * @author lucc
 * @date 2023-10-23 10:37:27
 */
@Data
@TableName("client_base_addr")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "客户基地地址")
@Accessors(chain = true)
public class ClientAddrEntity extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Long id;

    /**
     * 客户 id
     */
    @Schema(description = "客户id")
    private Long clientId;

    /**
     * 省市区
     */
    @Schema(description = "省市区")
    private String city;

    /**
     * 街道
     */
    @Schema(description = "街道")
    private String  street;

    /**
     * 工厂地址
     */
    @Schema(description = "工厂地址")
    private String facAddr;

    /**
     * 联系人
     */
    @Schema(description = "联系人")
    private String linkUsername;

    /**
     * 联系手机号
     */
    @Schema(description = "联系手机号")
    private String likePhone;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
